import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:industry_net/pages/home/app_man/binding.dart';
import 'package:industry_net/pages/home/app_man/page.dart';
import 'package:industry_net/pages/home/app_more/binding.dart';
import 'package:industry_net/pages/home/app_more/page.dart';
import 'package:industry_net/pages/home/lottie_test/index.dart';
import 'package:industry_net/pages/home/main/page.dart';
import 'package:industry_net/pages/home/search/bindings.dart';
import 'package:industry_net/pages/home/search/page.dart';
import 'package:industry_net/pages/login/forgot/find_back_success/page.dart';
import 'package:industry_net/pages/login/forgot/main/binding.dart';
import 'package:industry_net/pages/login/forgot/main/page.dart';
import 'package:industry_net/pages/login/forgot/new_pwd/binding.dart';
import 'package:industry_net/pages/login/forgot/new_pwd/page.dart';
import 'package:industry_net/pages/login/main/bindings.dart';
import 'package:industry_net/pages/login/main/page.dart';
import 'package:industry_net/pages/login/register/main/binding.dart';
import 'package:industry_net/pages/login/register/main/page.dart';
import 'package:industry_net/pages/login/register/register_success/page.dart';
import 'package:industry_net/pages/me/main/page.dart';
import 'package:industry_net/pages/me/setup/about/binding.dart';
import 'package:industry_net/pages/me/setup/about/page.dart';
import 'package:industry_net/pages/me/setup/login_pwd/binding.dart';
import 'package:industry_net/pages/me/setup/login_pwd/page.dart';
import 'package:industry_net/pages/me/setup/main/binding.dart';
import 'package:industry_net/pages/me/setup/main/page.dart';
import 'package:industry_net/pages/me/setup/modify_phone/main/binding.dart';
import 'package:industry_net/pages/me/setup/modify_phone/main/page.dart';
import 'package:industry_net/pages/me/setup/modify_phone/modify_phone2/binding.dart';
import 'package:industry_net/pages/me/setup/modify_phone/modify_phone2/page.dart';
import 'package:industry_net/pages/me/setup/nick/binding.dart';
import 'package:industry_net/pages/me/setup/nick/page.dart';
import 'package:industry_net/pages/msg/chat/chat/index.dart';
import 'package:industry_net/pages/msg/logistics_list/index.dart';
import 'package:industry_net/pages/msg/main/page.dart';
import 'package:industry_net/pages/msg/map_earth/binding.dart';
import 'package:industry_net/pages/msg/map_earth/page.dart';
import 'package:industry_net/pages/news/main/page.dart';
import 'package:industry_net/pages/news/news_detail/index.dart';
import 'package:industry_net/pages/splash/index.dart';
import 'package:industry_net/pages/tab_controller/binding.dart';
import 'package:industry_net/pages/tab_controller/page.dart';
import 'package:industry_net/pages/welcome/index.dart';
part 'route_path.dart';

class RouterPages {
  static final List<GetPage> getPages = [
    GetPage(
      name: RouterPath.splash,
      page: () => SplashPage(),
    ),
    GetPage(
      name: RouterPath.welcome,
      page: () => const WelcomePage(),
      binding: WelcomeBinding(),
    ),
    GetPage(
      name: RouterPath.main,
      page: () => const TabPage(),
      binding: TabBinding(),
      transition: Transition.noTransition,
    ),
    GetPage(name: RouterPath.home, page: () => HomePage()),
    GetPage(name: RouterPath.msg, page: () => MsgPage()),
    GetPage(name: RouterPath.news, page: () => NewsPage()),
    GetPage(name: RouterPath.me, page: () => MePage()),
    GetPage(
      name: RouterPath.search,
      page: () => SearchPage(),
      transition: Transition.noTransition,
    ),
    GetPage(
      name: RouterPath.app_center,
      page: () => const AppMorePage(),
      binding: AppMoreBinding(),
    ),
    GetPage(
      name: RouterPath.app_man,
      page: () => const AppManPage(),
      binding: AppManBinding(),
      fullscreenDialog: true,
    ),
    //MARK: 消息
    GetPage(
      name: RouterPath.logistics_list,
      page: () => const LogisticsListPage(),
      binding: LogisticsListBinding(),
    ),
    GetPage(
      name: RouterPath.chat,
      page: () => const ChatPage(),
      binding: ChatBinding(),
    ),
    GetPage(
      name: RouterPath.map_earth,
      page: () => const MapEarthPage(),
      binding: MapEarthBinding(),
    ),

    ///资讯
    GetPage(
      name: RouterPath.news_detail,
      page: () => const NewsDetailPage(),
      binding: NewsDetailBinding(),
    ),
    // GetPage(
    //   name: RouterPath.news_reply,
    //   page: () => NewsReplyPage(),
    //   binding: NewsReplyBinding(),
    //   fullscreenDialog: true,
    // ),
    GetPage(
      name: RouterPath.login,
      page: () => const LoginPage(),
      binding: LoginBinding(),
      fullscreenDialog: true,
    ),
    GetPage(
      name: RouterPath.forgot_pwd,
      page: () => const ForgotPage(),
      binding: ForgotBinding(),
    ),
    GetPage(
      name: RouterPath.forgot_new_pwd,
      page: () => const NewPwdPage(),
      binding: NewPwdBinding(),
    ),
    GetPage(
      name: RouterPath.find_back_success,
      page: () => const FindBackSuccessPage(),
    ),
    GetPage(
      name: RouterPath.register,
      page: () => const RegisterPage(),
      binding: RegisterBinding(),
    ),
    GetPage(
      name: RouterPath.register_success,
      page: () => const RegisterSuccessPage(),
    ),
    GetPage(
      name: RouterPath.setup,
      page: () => const SetupPage(),
      binding: SetupBinding(),
    ),
    GetPage(
      name: RouterPath.modify_phone,
      page: () => const ModifyPhonePage(),
      binding: ModifyPhoneBinding(),
    ),
    GetPage(
      name: RouterPath.modify_phone2,
      page: () => const ModifyPhone2Page(),
      binding: ModifyPhone2Binding(),
    ),
    GetPage(
      name: RouterPath.nick_name,
      page: () => const NickNamePage(),
      binding: NickNameBinding(),
    ),
    GetPage(
      name: RouterPath.about_us,
      page: () => const AboutUsPage(),
      binding: AboutUsBinding(),
    ),
    GetPage(
      name: RouterPath.login_pwd,
      page: () => const LoginPwdPage(),
      binding: LoginPwdBinding(),
    ),
    GetPage(
      name: RouterPath.lottie_test,
      page: () => const LottieTestPage(),
      binding: LottieTestBinding(),
    ),
  ];
}
